
#
# from django import views
# from django.urls import path
#
from rest_framework_mongoengine.routers import DefaultRouter

from apps.recruit import views
from django.urls import path


urlpatterns = [
    path(' /recruits/search/city/keyword/', views.RecruitSearchView()),
    # path('/recruits/{id}/',)
    #企业访问量
    path('enterprise/{id}/visit/',views.EnterpriseVisitnumber.as_view()),
    #职业访问量
    path('/recruits/{id}/visit/', views.RecruitListView.as_view()),
    #收藏企业
    path('/enterprise/{id}/collect/', views.EnterpriseCollect.as_view()),
    #收藏职位
    path('/recruits/{id}/collect/', views.RecruitCollect.as_view()),
]

